'DeclarationPublic Overloads Sub AddAttributesForInstance( _ ByVal instance As Object, _ ByVal alsoEqual As Boolean, _ ByVal memberName As String, _ ByVal ParamArray attributes() As Attribute _ )
'UsageDim instance As AttributeStore Dim instance As Object Dim alsoEqual As Boolean Dim memberName As String Dim attributes() As Attribute instance.AddAttributesForInstance(instance, alsoEqual, memberName, attributes)
public void AddAttributesForInstance( object instance, bool alsoEqual, string memberName, params Attribute[] attributes )
public: void AddAttributesForInstance( Object^ instance, bool alsoEqual, String^ memberName, ... array<Attribute^>^ attributes )
Parameters
- instance
- The instance the member lives on.
The value of this parameter cannot be
null(Nothingin Visual Basic). - alsoEqual
- Also adds attributes to all equal instances.
- memberName
- The member to add attributes for.
The value of this parameter can be
null(Nothingin Visual Basic). - attributes
- The new attributes to add.
The value of this parameter cannot be
null(Nothingin Visual Basic).The individual elements of the parameter value cannot be
null(Nothingin Visual Basic).